package com.xyht.medicine_management_system.modules.consumptionPoint.entity.resp;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 积分规则表
 * </p>
 *
 * @author XYHT
 * @since 2023-12-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_consumption_point_rule")
@ApiModel(value="MmsConsumptionPointRule对象", description="积分规则表")
public class MmsConsumptionPointRuleResp implements Serializable {

    @ApiModelProperty(value = "规则id")
    private String id;

    @ApiModelProperty(value = "规则名")
    private String name;

    @ApiModelProperty(value = "创建人ID")
    private String creatorId;

    @ApiModelProperty(value = "积分转化率(消费金额/积分)")
    private Double pointsRate;

    @ApiModelProperty(value = "开始日期")
    private Date startDate;

    @ApiModelProperty(value = "结束日期")
    private Date endDate;

    @ApiModelProperty(value = "规则状态(标记规则是否已被启用或仍处于禁用状态)")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String note;


}
